<!DOCTYPE html>
<html>
  <head>
    <title>TMT</title>
    <%= stylesheet_link_tag :all %>
    <%= javascript_include_tag :defaults,"jquery" %>
    <%= csrf_meta_tag %>
  </head>
  <body>
    <font color="red">
      <% if flash[:message] %>
        <div>
          <%= h flash[:message] %>
        </div>
      <% end %>

      <% if flash[:error] %>
        <div>
          <%= h flash[:error] %>
        </div>
      <% end %>
    </font>
    <%= yield %>

  </body>
</html>
